﻿using System;
using System.Data;
using System.Configuration;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Collections;
using Dcms.BLL;
using Dcms.Model;
using Dcms.Common;
using AjaxPro;

public partial class Manage_Modle_Position_JsInFo : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        CompetenceLib CL = new CompetenceLib();
        CL.IsLogin();
        if (!IsPostBack) {
            if (Request.QueryString["SecID"] != null)
            {
                Dcms_JobSeekerBLL jBll = new Dcms_JobSeekerBLL();
                Dcms_JobSeekerModel jModel = new Dcms_JobSeekerModel();
                jModel = jBll.GetModelByID(Convert.ToInt32(Request.QueryString["SecID"].ToString()));
                lab_JsAboutEdu.Text = jModel.Js_AboutEdu;
                lab_JsAboutFamily.Text = jModel.Js_AboutFamily;
                lab_JsAboutTrain.Text = jModel.Js_AboutTrain;
                lab_JsAboutWork.Text = jModel.Js_AboutWork;
                lab_JsAddress.Text = jModel.Js_Address;
                lab_JsAddTime.Text = jModel.Js_AddTime.ToString();
                lab_JsBirth.Text = jModel.Js_Birth.ToString("yyyy-MM-dd");
                lab_JsComputer.Text = jModel.Js_Computer;
                lab_JsEmail.Text = jModel.Js_Email;
                lab_JsFamilyTel.Text = jModel.Js_FamilyTel;
                lab_JsFirstContacter.Text = jModel.Js_FirstContacter;
                lab_JsFirstContacterTel.Text = jModel.Js_FirstContacterTel;
                lab_JsForeignLanguage.Text = jModel.Js_ForeignLanguage;
                lab_JsIdentity.Text = jModel.Js_Identity;
                lab_JsMarry.Text = jModel.Js_Marry.ToString();
                lab_JsNational.Text = jModel.Js_National;
                lab_JsPassword.Text = jModel.Js_Password;
                lab_JsPayDemands.Text = jModel.Js_PayDemands;
                lab_JsRealName.Text = jModel.Js_RealName;
                lab_JsSex.Text = jModel.Js_Sex.ToString();
                lab_JsTel.Text = jModel.Js_Tel;
                lab_JsWorkPlace.Text = jModel.Js_WorkPlace;
                lab_HighEdu.Text = jModel.Js_HighEdu;
                lab_JsWorkTime.Text = jModel.Js_WorkTime.ToString();
            }
        }
    }
}
